<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', 'User\IndexController@Index');
Route::get('Login', 'User\LoginController@Index');
Route::get('Loginout', 'User\LoginController@Out');
Route::resource('UserList', 'Admin\UserListController');
Route::resource('Edit', 'Admin\EditController');
Route::resource('W', 'User\WordController');
Route::resource('Interlocution', 'User\InterlocutionController');
Route::resource('GCallback', 'OAuth\GithubCallback');
Route::resource('QQCallback', 'OAuth\QQCallback');
Route::resource('MsgCallback', 'User\MsgCallbackController');

// Event::listen("illuminate.query", function($query, $bindings){
// var_dump($query);//sql 预处理 语句
// var_dump($bindings);// 替换数据
// echo "</br>";
// });
